net/url.Userinfo.Username (method)

7 uses

	net/url (current package)
		url.go#L405: func (u *Userinfo) Username() string {
		url.go#L870: 		ru.User = UserPassword(ru.User.Username(), "xxxxx")

	net/http
		client.go#L248: 		username := u.Username()
		client.go#L1029: 		return strings.Replace(u.String(), u.User.String()+"@", u.User.Username()+":***@", 1)
		transport.go#L864: 		username := u.Username()
		transport.go#L1650: 				Username: u.Username(),

	golang.org/x/net/proxy
		proxy.go#L85: 		auth.User = u.User.Username()